import React, { Component } from 'react'

// 组件加持 rcc 快捷生成

class Child extends Component {
  render() {
    return <div>我是孩子组件</div>
  }
}



class Navbar extends Component {
  render() {
    return <div>
      Navbar
      <Child></Child>
    </div>
  }
}

function Swiper() {
  return (
    <div>
      Swiper
    </div>
  )
}

const Tabbar = () => <div>Tabbar</div>






export default class App extends Component {
  render() {
    return (
      <div>
        <Navbar>
        </Navbar>
        <Swiper></Swiper>
        <Tabbar></Tabbar>
      </div>
    )
  }
}
